package org.miyuki4j.cfgtool.app.gui;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import lombok.extern.slf4j.Slf4j;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/30/星期三 21:25
 * @Version 1.0
 */
@Slf4j
public class MainGuiController {
    @FXML
    public void btnServerCodeGenerate(ActionEvent ae) throws Exception {
        log.info("btnServerCodeGenerate|actionEvent={}", ae);
        SceneLoader.load("CodeGenerateGui.fxml");

    }

    @FXML
    public void btnServerDataExport(ActionEvent ae) throws Exception {
        log.info("btnServerDataExport|actionEvent={}", ae);
        SceneLoader.load("DataExportGui.fxml");
    }
}
